// 定义模块
mod food {
    pub struct Cake;
    struct Smoothie;
    struct Pizza;
}

// 引入模块后才可以使用
use food::Cake;

fn main() {
    let eatable = Cake;
}